package com.example.tang.zhayan.bean;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.io.Serializable;

/**
 * Created by yang on 2015/12/18.
 */
@Table(name = "zhayan")
public class DbBuyDetail implements Serializable {

    @Column(name = "id", isId = true)
    private long id;
    @Column(name = "imgUrl")
    private String imgUrl;
    @Column(name = "info")
    private String info;
    @Column(name = "name")
    private String name;
    @Column(name = "price")
    private String price;
    @Column(name = "color")
    private String color;
    @Column(name = "size")
    private String size;
    @Column(name = "currentCount")
    private String currentCount;
    @Column(name = "totalCount")
    private String totalCount;
    @Column(name = "height")
    private String height;
    @Column(name = "kg")
    private String kg;
    @Column(name = "flag")
    //0 表示没有被选中  1表示被选中
    private int flag = 0;

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public DbBuyDetail() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getCurrentCount() {
        return currentCount;
    }

    public void setCurrentCount(String currentCount) {
        this.currentCount = currentCount;
    }

    public String getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(String totalCount) {
        this.totalCount = totalCount;
    }

    public String getHeight() {
        return height;
    }

    public void setHeight(String height) {
        this.height = height;
    }

    public String getKg() {
        return kg;
    }

    public void setKg(String kg) {
        this.kg = kg;
    }
}
